package com.aiti.lulian.feign.impl;

import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.entity.crad.CardChangeCardRole;
import com.aiti.lulian.feign.CloudShowManagerSubService;

import java.util.Collections;
import java.util.List;
import java.util.Map;

public class CloudShowManagerSubServiceFallBack implements CloudShowManagerSubService {
    @Override
    public Message getUserIdByUserName(String userName) {
        return Message.fail();
    }

    @Override
    public Message getUserList(String userIds) {
        return Message.fail();
    }

    @Override
    public Message getUserInfo(String userId) {
        return Message.fail();
    }

    @Override
    public Message queryUserAccessScope(String userId) {
        return Message.fail();
    }

    @Override
    public Message getUsersInfo(List<String> userIds) {
        return Message.fail();
    }

    @Override
    public Message addUserRole(Map<String, String> params) {
        return Message.fail();
    }

    @Override
    public Message addUserRoleNew(Map<String, String> params) {
        return Message.fail();
    }

    @Override
    public Message getDeptNameByDeptId(String deptId) {
        return  Message.fail();
    }

    @Override
    public Message getRoleByUserId(String userId) {
        return Message.fail("查询失败");
    }

    @Override
    public Message getUserIsDeptQx(String userId) {
        return Message.fail();
    }

    /**
     * 通过部门ID查询子级部门
     *
     * @param deptId
     * @return
     */
    @Override
    public Message getSubDeptByDeptId(String deptId) {
        return Message.fail("查询失败");
    }

    @Override
    public Message getUserIdsByDeptId(String deptId) {
        return Message.fail();
    }

    @Override
    public Message getDeptIdByUserId(String userId) {
        return Message.fail();
    }

    /**
     * 在切换高级版或基础版的时候更新对应员工的角色
     *
     * @param params
     * @return
     */
    @Override
    public Message updateEnterpriseRyRole(List<CardChangeCardRole> params) {
        return Message.fail("更新失败");
    }

    @Override
    public Message queryUserOpenIdByUserId(List<String> userId) {
        return Message.fail("更新失败");
    }

    @Override
    public Message updateSubUserBatch(Map<String, Object> subUserDtoMap) {
        return Message.fail("更新失败");
    }

    @Override
    public Message getUserIds(String userId) {
        return Message.fail("查询失败");
    }

    @Override
    public Message isExisting2(String username) {
        return Message.fail("查询失败");
    }

    @Override
    public Message removeUserTemplateByTemplateId(String templateId){
        return Message.fail("查询失败");
    }

    @Override
    public List<String> getUserRoleList(String userId) {
        return Collections.emptyList();
    }

    @Override
    public List<String> getAllUsers() {
        return Collections.emptyList();
    }
}